home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
program
/
gcc
/
gcc270-d.lha
/
gnu
/
man
/
cat3
/
index.0
< prev
next >
Wrap
Text File
|
1992-08-10
|
1KB
|
67 lines
INDEX(3) UNIX Programmer's Manual INDEX(3)
NNAAMMEE
iinnddeexx - locate character in string
SSYYNNOOPPSSIISS
##iinncclluuddee <<ssttrriinngg..hh>>
_c_h_a_r _*
iinnddeexx(_c_o_n_s_t _c_h_a_r _*_s, _i_n_t _c)
DDEESSCCRRIIPPTTIIOONN
The iinnddeexx() function locates the first character matching _c (converted to
a _c_h_a_r) in the nullÂterminated string _s.
RREETTUURRNN VVAALLUUEESS
The character _c is returned if it is found; otherwise NULL is returned.
If _c is '\0', iinnddeexx() locates the terminating '\0'.
SSEEEE AALLSSOO
memchr(3), rindex(3), strchr(3), strcspn(3), strpbrk(3), strrchr(3),
strsep(3), strspn(3), strstr(3), strtok(3)
HHIISSTTOORRYY
A iinnddeexx() function appeared in Version 6 AT&T UNIX.
BSD Experimental April 19, 1991 1